﻿<%@ Page Title="基本信息" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PersonalCenter.aspx.cs" Inherits="Default2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <style type="text/css">

    aside{
          height:500px;width:50%;
          float:right;padding-top:30px;margin-top:30px;
          border-style:solid; border-width:2px; border-color:darkgrey;border-radius:10px;
          background-color:aliceblue;
    }

    .FirstSelect{
            width:95%;height:40px;border-style:solid; border-width:2px;
            border-bottom-color:darkgrey;border-top-color:darkgrey;
            border-left-color:#FFFFFF;border-right-color:#FFFFFF;
            text-align:center;line-height:40px;
    }


    .select{ 
            width:95%;height:40px;border-style:solid; border-width:2px;
            border-bottom-color:darkgrey;border-top-color:#FFFFFF;
            border-left-color:#FFFFFF;border-right-color:#FFFFFF;
            text-align:center;line-height:40px;
    }

    a{text-decoration:none;color: #000000;}

   </style>


    <aside >
     <nav >
         <div class="FirstSelect">
             <a href="PersonalCenter.aspx" >基本信息</a>
         </div>

         <div class="select">
             <a href="ChangePassword.aspx" >修改密码</a>
         </div>
          
         <div class="select">
             <a href="ChangeInformation.aspx" >我发布的</a>
         </div >
         
         <div class="select">
            <a href="Order1.aspx" >我的订单</a>
         </div>
         
         <div class="select">
            <a href="BrowsingFootprints.aspx" >浏览足迹</a>
         </div>
         
     </nav>
    </aside>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
   
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    
    <style type="text/css">
     
    .panel{
           border-style:solid; border-width:3px; border-color:darkgrey;
           width:80%;height:500px;padding-top:30px;padding-left:20px;
           margin-top:30px;
           text-align:center;
    }
    
    .Table{
     margin:0 auto
    }

    .Table_tr{
      height:50px;
    }

    </style>

    <div class="panel">

        <table class="Table" style="border-collapse:collapse">

        <tr class="photo">
          <td style="text-align:right">头像：</td>
          <td style="text-align:center">
            <asp:Image ID="Image1" runat="server" style="width:75px;height:75px;
            border-radius:50%;border-color:aqua;border-style:solid; border-width:2px;" />
          </td>
          <td>
          </td>
        </tr>

        <tr style="height:30px">
         <td></td>
         <td>
           <asp:FileUpload ID="fupImage" runat="server" Width="176px" />
         </td>
         <td>
           <asp:Button ID="Button1" runat="server" Text="更换头像"
           style="background-color:aliceblue;border-color:white" OnClick="Button1_Click" />
         </td>
        </tr>

        <tr class="Table_tr">
          <td style="text-align:right">星级评分：</td>
          <td style="text-align:center">
              <asp:Label ID="Start" runat="server" Text=""></asp:Label>
          </td>
          <td ></td>
        </tr>

        <tr class="Table_tr">
          <td  style="text-align:right" >用户名：</td>
          <td>
              <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
          </td>
          <td >
              <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
                  runat="server" ErrorMessage="不能为空" ControlToValidate="UserName"></asp:RequiredFieldValidator>
          </td>
        </tr>

         <tr class="Table_tr">
          <td style="text-align:right">手机号码：</td>
          <td>
              <asp:TextBox ID="PhoneNumber" runat="server"></asp:TextBox>
          </td>
          <td >
              <asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                  runat="server" ErrorMessage="不能为空" ControlToValidate="PhoneNumber"></asp:RequiredFieldValidator>
          </td>
        </tr>

         <tr class="Table_tr">
          <td style="text-align:right">QQ：</td>
          <td>
              <asp:TextBox ID="QQNumber" runat="server"></asp:TextBox>
          </td>
            <td >
              <asp:RequiredFieldValidator ID="RequiredFieldValidator3" 
                  runat="server" ErrorMessage="不能为空" ControlToValidate="QQNumber"></asp:RequiredFieldValidator>
            </td>
        </tr>

         <tr class="Table_tr">
          <td style="text-align:right">性别：</td>
          <td style="text-align:center">
              <asp:RadioButtonList ID="Sex" runat="server" RepeatDirection="Horizontal">
               <asp:ListItem Value="男">男</asp:ListItem>
               <asp:ListItem Value="女">女</asp:ListItem>
             </asp:RadioButtonList>
          </td>
            <td ></td>
        </tr>

         <tr class="Table_tr">
          <td style="text-align:right">地址：</td>
          <td>
              <asp:TextBox ID="Address" runat="server"></asp:TextBox>
          </td>
           <td >
              <asp:RequiredFieldValidator ID="RequiredFieldValidator4" 
                  runat="server" ErrorMessage="不能为空" ControlToValidate="Address"></asp:RequiredFieldValidator>
           </td>
         </tr>

          <tr class="Table_tr">
           <td ></td>
           <td style="text-align:center">
               <asp:Label ID="lblMsg" runat="server" Text="" ForeColor="#3399ff"></asp:Label>
           </td>
           <td>
              <asp:Button ID="SaveButton" runat="server" Text="保存修改"
                style="background-color:aliceblue;border-color:white"  OnClick="SaveButton_Click" />
           </td>
         </tr>
        </table>

    </div>

</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">

</asp:Content>

